package com.itfreer.knowledge.entity.base;

import java.io.Serializable;

/**
 * 表基类
 */
public class EntityBase implements Serializable {
	
	private static final long serialVersionUID = 6560611189997978560L;
	
	/**
	 * id值，主键，唯一值
	 * 系统应用中必需关联此值
	 */
	private String id;
	
	/**
	 * 代码值
	 */
	private String code;
	
	/**
	 * 显示名称
	 */
	private String display;
	
	/**
	 * 排序值
	 */
	private Integer order;
	
	/**
	 * 是否有效
	 */
	private Boolean valid = true;
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDisplay() {
		return display;
	}

	public void setDisplay(String display) {
		this.display = display;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public Boolean getValid() {
		return valid;
	}

	public void setValid(Boolean valid) {
		this.valid = valid;
	}
}
